package com.yht.downloadimage.runmain;

import com.yht.downloadimage.storage.NumStorage;
import com.yht.downloadimage.thread.DownLoadThread;

public class Main {

	public static void main(String[] args) {
		NumStorage.initNumList(1, 2000);
		for(int i=0;i<20;i++){
			DownLoadThread dlt=new DownLoadThread();
			dlt.setDir("D:/images/zhulong/imgs/");
			dlt.setHouzhui(".jpg");
			dlt.setUrl("http://t.zhulong.com/seccode?time=1481944900");
			dlt.setSleepTime(0);
			dlt.setIp("");
			dlt.setPort(9999);
			dlt.setWebDriver(false);
			Thread t=new Thread(dlt);
			t.start();
		}

	}

}
